<h1>Competency-Based Interview Guides</h1>

<p>
  Welcome to the Sykes CBI Guide system. Click the "Add new guide" button to start
  a new CBI Guide, or the "Edit" button to refer to / re-use an old guide.
</p>

<ul class="buttons">
  <li><a class="button add active" href="#">Add new guide</a></li>
</ul>

<?php /* loop/page through existing guides for user */ ?>

<div class="cbi-guides">

<?php foreach ( $pager->getResults() as $guide ): ?>

  <div class="cbi-guide">

    <ul class="buttons">
      <li><a class="button preview active" href="#">View print preview</a></li>
      <li><a class="button edit active" href="#">Edit</a></li>
      <li><a class="button delete active" href="#">Delete</a></li>
    </ul>

    <div class="title"><?php echo $guide->getTitle(); ?></div>
    <div class="dates">
      <span>Created: <?php echo $guide->getCreatedAt(); ?></span>
      <span>Modified: <?php echo $guide->getUpdatedAt(); ?></span>
    </div>

  </div>

<?php endforeach; ?>

</div>